<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h2>가입양식</h2>
<form method="post" action="/kosta_project_final_taxi/driver.do" name="f1">
    <input type="hidden" name="method" value="joinDriver">
    <table width='500'>
        <tr>
            <td width="100">ID</td>
            <td>
                 <input type="text" name="memberId" id="id" >
                 <span id='id_msg'></span>
            </td>
        </tr>
        <tr>
            <td>Password</td>
            <td>
                <input type="password" name="password">
            </td>
        </tr>
        <tr>
            <td>전화번호</td>
            <td>
                <input type="text" name="phone">
            </td>
        </tr>
        <tr>
            <td>이름</td>
            <td>
                <input type="text" name="name">
            </td>
        </tr>
        <tr>
            <td>이메일</td>
            <td>
                <input type="text" name="email">
            </td>
        </tr>
        <tr>
            <td>주소</td>
            <td>
                <input type="text" name="address">
            </td>
        </tr>
        <tr>
            <td>회원구분</td>
            <td>
                <select name="memberType" id="memberType">
                    <option value=0>일반회원</option>
                    <option value=1>운전자</option>
                    <option value=2>관리자</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>차량번호</td>
            <td>
                <input type="text" name="carRegNum">
            </td>
        </tr>
        <tr>
            <td>운전면허번호</td>
            <td>
                <input type="text" name="dlLicenseNum">
            </td>
        </tr>
        <tr>
            <td>운전자사진등록</td>
            <td>
                <input type="file" name="picLoc">
            </td>
        </tr>
        <tr>
            <td>택시구분</td>
            <td>
                <select name="taxiType" id="taxiType">
                    <option value=0>일반택시</option>
                    <option value=1>모범택시</option>
                </select>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" value="가입">
                <input type="reset" value="다시작성">
            </td>
        </tr>
    </table>
</form>
</body>
</html>